package com.huiminpay.user.convert;

import com.huiminpay.user.api.dto.tenant.AccountRoleDTO;
import org.mapstruct.Mapper;
import org.mapstruct.factory.Mappers;

import java.util.List;


@Mapper
public interface AccountRoleConvert {

    AccountRoleConvert INSTANCE = Mappers.getMapper(AccountRoleConvert.class);

    AccountRoleDTO entity2dto(com.huiminpay.user.entity.AccountRole entity);

    com.huiminpay.user.entity.AccountRole dto2entity(AccountRoleDTO dto);

    List<AccountRoleDTO> listentity2dto(List<com.huiminpay.user.entity.AccountRole> app);
}
